package com.acc.softmgr.common.exception;

/**
 * 
 * @content 自己的业务异常类
 * 
 * @date 2017年5月8日
 * 
 * @author OprCalf
 * 
 */
public class BusinessException extends Exception {

	private static final long serialVersionUID = 2874310081615076500L;

	public BusinessException(String message, Throwable e) {
		super(message, e);
	}

	public BusinessException(String message) {
		super(message);
	}

	public BusinessException(Throwable e) {
		super(e);
	}

	/**
	 * 重写fillInStackTrace 业务异常不需要堆栈信息，提高效率.
	 * 
	 * @see Throwable#fillInStackTrace()
	 */
	@Override
	public Throwable fillInStackTrace() {
		return this;
	}

}
